package com.sims.dao;

import java.util.List;

import com.sims.bean.Class;

public interface IClassDAO {

	public abstract void save(Class transientInstance);

	public abstract void delete(Class persistentInstance);

	public abstract Class findById(java.lang.Integer id);

	public abstract List findByExample(Class instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByName(Object name);

	public abstract List findByGrade(Object grade);

	public abstract List findByClassroom(Object classroom);

	public abstract List findByTid(Object tid);

	public abstract List findAll();

	public abstract Class merge(Class detachedInstance);

	public abstract void attachDirty(Class instance);

	public abstract void attachClean(Class instance);

}